package com.richest.api.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.MerchantCreditScoreHistoricalTracesMapper;
import com.richest.api.service.IMerchantCreditScoreHistoricalTracesService;
import com.richest.bean.MerchantCreditScoreHistoricalTracesBean;

/**
 * 企业信用信息管理服务实现
 * 
 * @author 杨博
 * @version richest-api 2.0
 */
@Service
public class MerchantCreditScoreHistoricalTracesServiceImpl implements IMerchantCreditScoreHistoricalTracesService {

	@Autowired
	private MerchantCreditScoreHistoricalTracesMapper mapper;

	@Override
	public Integer merchantCreditScoreHistoricalTracesAdd(MerchantCreditScoreHistoricalTracesBean bean) {
		return mapper.merchantCreditScoreHistoricalTracesAdd(bean);
	}

	@Override
	public Integer merchantCreditScoreHistoricalTracesUpdate(MerchantCreditScoreHistoricalTracesBean bean) {
		return mapper.merchantCreditScoreHistoricalTracesUpdate(bean);
	}

	@Override
	public Integer merchantCreditScoreHistoricalTracesDelete(Long id) {
		return mapper.merchantCreditScoreHistoricalTracesDelete(id);
	}

	@Override
	public MerchantCreditScoreHistoricalTracesBean merchantCreditScoreHistoricalTracesSelectOne(Long id) {
		return mapper.merchantCreditScoreHistoricalTracesSelectOne(id);
	}

	@Override
	public List<Map<String, Object>> merchantCreditScoreHistoricalTracesSelectMap(Map<String, Object> params) {
		return mapper.merchantCreditScoreHistoricalTracesSelectMap(params);
	}
}
